package com.module.boots.api.message;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 消息影响实体
 * @author：溪云阁
 * @date：2020年5月2日
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "响应类", description = "响应类")
public class ResponseMsg<T> {

    @ApiModelProperty(value = "响应状态", example = "00，成功；01，失败")
    private String respStatus;

    @ApiModelProperty(value = "响应描述", example = "例如:找不到用户信息")
    private Object respDesc;

    @ApiModelProperty(value = "响应实体")
    private T data;

}
